<%@ Page Language="C#" AutoEventWireup="true" ValidateRequest="false" CodeFile="WebNewsEdit.aspx.cs" Inherits="admin_WebNews_WebNewsEdit" %>
<%@ Register Assembly="FredCK.FCKeditorV2" Namespace="FredCK.FCKeditorV2" TagPrefix="FCKeditorV2" %>
<%@ Register Src="../../Control/Upfile.ascx" TagName="Upfile" TagPrefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>修改网站新闻</title>
<link rel="stylesheet" href="../skin/style.css" type="text/css" />

    <script type="text/javascript">
        function showadv(){
        if (document.form1.pic_on.checked == true) {
		        adv.style.display = "";
		        advance.innerText="取消上传标题图片"
	        }else{
		        adv.style.display = "none";
		        advance.innerText="上传标题图片"
	        }
        }		
    </script>

</head>
<body>
    <form id="form1" runat="server">
        <div class="talbe_border marie">
            <table border="0" cellpadding="0" cellspacing="0" class="talbe_list">
			 <tr>
			  <th colspan="2" class="header tou">编辑网站新闻</th>
			  </tr>
                <tr>
                    <td width="16%" class="left1">
                        信息标题：                    </td>
                    <td width="58%" class="left2">
                        <asp:TextBox ID="txtTitle" runat="server" Width="200px"></asp:TextBox>
                  </td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        信息分类：                    </td>
                    <td class="left2"><asp:DropDownList ID="dropType" runat="server" Visible="true">
                            <asp:ListItem Value="网站公告">网站公告</asp:ListItem>
                            <asp:ListItem Value="网站活动">网站活动</asp:ListItem>
                            <asp:ListItem Value="网站新闻">网站新闻</asp:ListItem>
                  </asp:DropDownList></td>
                </tr>
                <tr>
                    <td class="left1" width="16%">
                        信息来源：</td>
                    <td class="left2">
                        <asp:TextBox ID="txtOrigin" runat="server" Width="200px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td width="16%" class="left1">
                        详细信息：                    </td>
                    <td>
                       <FCKeditorV2:FCKeditor ID="Detail" runat="server" BasePath="../../Control/fckeditor/"  ToolbarSet="Custom" Height="400px" Width="780px">
</FCKeditorV2:FCKeditor>
                  </td>
                </tr>
                <tr>
                    <td colspan="2" bgcolor="#fefbf7">
                        <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" CssClass="i_button" /><asp:Button
                            ID="btnCancel" runat="server" Text="取消" OnClick="btnCancel_Click" CssClass="i_button" /></td>
                </tr>
          </table>
        </div>
    </form>
</body>
</html>
